package xyz.zhno.mall.product.model.dto;

import lombok.*;
import lombok.experimental.Accessors;
import xyz.zhno.mall.common.mpg.entity.PmsProductCategory;

import java.util.List;

/**
 * 商品分类树节点
 * @author zh_o
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
@NoArgsConstructor
@AllArgsConstructor
public class PmsProductCategoryNodeDTO extends PmsProductCategory {

    /**
     * 子分类
     */
    List<PmsProductCategoryNodeDTO> children;

}
